<?php
/**
 * Created by PhpStorm.
 * User: lhl
 * Date: 2020/12/25
 * Time: 10:17
 * Features:自学习配置
 */

namespace app\api\validate;


use think\Validate;

class HostLearnConfigValidate extends Validate
{
    //规则
    protected $rule = [
        //主机绑定码
        'hostkey' => 'require',
    ];

    //验证场景
    protected $scene = [
        //将防火墙接管状态重置为已接管
        'setControlledFirewall' => ['hostkey'],
    ];

}